package com.zzyl.nursing.task;

import com.zzyl.nursing.controller.ContractController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: JBY
 * @Date: 2025/08/13 16:02
 */
@Slf4j
@Component
public class QuartzTime {
    @Autowired
    private ContractController contractController;

    public void updateContractStatus() {
        contractController.updateContractStatus();
        log.info("更新合同状态成功");
    }
}
